package com.zpark.controller;

import com.zpark.service.IPersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @PackageName: com.zpark.controller
 * @ClassName: PersonController
 * @Description:
 * @author: RZS
 * @date: 2024/3/5  10:45
 */
@RestController
@RequestMapping("/p")
public class PersonController {

    @Autowired
    private IPersonService personService;

    @RequestMapping("/info")
    public String getInfo(){
        // TODO 这个地方需要写代码
        return personService.getInfo();
    }
}
